package com.seckill.vo;

/**
 * @author yangjunwei
 * @date 2022/4/28 3:50 下午
 */
public enum OrderStatusEnum {
    /**
     * 订单状态code和描述
     */
    UNPAID("新建未支付", 0),
    PAID("已支付", 1),
    SHIPPED("已发货", 2),
    RECEIVED("已收货", 3),
    REFUNDED("已退款", 4),
    COMPLETED("已完成", 5),
    EXPIRED("过期取消", 6);


    private final String status;
    private final Integer statusCode;

    OrderStatusEnum(String status, Integer statusCode) {
        this.status = status;
        this.statusCode = statusCode;
    }

    public String getStatus() {
        return status;
    }

    public Integer getStatusCode() {
        return statusCode;
    }

}

